package com.example.service;


import com.example.bean.Address;
import com.example.bean.ResultVo;

import java.util.List;

public interface AddressService {
    //查询所有id
    List<Address> findAll(int uId);
    //更改地址
    ResultVo modifUpdateAddress(int aId,String rName,String rPhone,String rAddress);
    //删除地址
    Boolean deleteAddress1(int aId);
    //增加地址
    Boolean addAddress1(Address address);
    //查询默认地址
    Address findDefaultAddress(int uid);
}
